<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>02-列表展示</title>
</head>

<body>
  <div id="app">{{message}} Vue
    <ul>
      <li v-for='item in movies'>{{item}}</li>
    </ul>
  </div>

  <script src="../../js/vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        message: '你好',
        movies: ['海王', '星际穿越', '流浪地球', '大话西游', '大人物']
      }
    })
  </script>
</body>

</html>